package com.ykdl.member.kid.beans;

import java.io.Serializable;

import android.graphics.Picture;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

import net.wxxr.http.interfaces.IJsonParser;

public class ActivityDetailBean implements Serializable, IJsonParser {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private PictureBean details_pic;
	private PictureBean share_pic;
	private String note;
	private String activity_id;
	private String end_time;
	private String title;
	private String begin_time;
	private String invitation_url;
	private String desc ;
	private String error ;
	public String getDesc() {
		return desc;
	}

	public String getError() {
		return error;
	}

	
	
	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public PictureBean getDetails_pic() {
		return details_pic;
	}

	public PictureBean getShare_pic() {
		return share_pic;
	}

	public String getNote() {
		return note;
	}

	public String getActivity_id() {
		return activity_id;
	}

	public String getEnd_time() {
		return end_time;
	}

	public String getTitle() {
		return title;
	}

	public String getBegin_time() {
		return begin_time;
	}

	public String getInvitation_url() {
		return invitation_url;
	}

	@Override
	public IJsonParser parse(String json) throws Exception {
		// TODO Auto-generated method stub
		Gson gson = null;
		if (null != json) {
			GsonBuilder b = new GsonBuilder();
			gson = b.create();
			return gson.fromJson(json, ActivityDetailBean.class);
		}
		return null;
	}

}
